﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CourseSystem.Common.Helpers
{
    public class QuestionLibHelper
    {
        public static string GetDtType(int type)
        {
            switch (type)
            {
                case 0:
                    return "单选题";
                case 1:
                    return "多选题";
                case 2:
                    return "判断题";
                case 3:
                    return "论述题";
                case 4:
                    return "思考题";
            }
            return "NotFound";
        }

        public static string GetDiffType(int type)
        {
            switch (type)
            {
                case 0:
                    return "很容易";
                case 1:
                    return "较容易";
                case 2:
                    return "容易";
                case 3:
                    return "一般";
                case 4:
                    return "难";
                case 5:
                    return "较难";
                case 6:
                    return "很难";
            }
            return "NotFound";
        }
    }
}
